package com.bw.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.core.result.ResponseResult;
import com.bw.user.pojo.TbIdentityAuth;
import com.bw.user.vo.IdentityAuthVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 * 身份认证表&信息 服务类
 * </p>
 *
 * @author lv
 * @since 2021-03-23
 */
public interface TbIdentityAuthService extends IService<TbIdentityAuth> {

    ResponseResult scanidcard(MultipartFile IdCardFront);


    String livingauthen(MultipartFile livePic);


    String certification(String name, String cardId, MultipartFile IdCardFront, TbIdentityAuthService identityAuthService);

    ResponseResult iditiy(IdentityAuthVo identityAuthVo, Map<String,String> map);
}
